<?php
	if (!isset($image))
	{
		$id = $_GET['id'];
		$image = $_GET['image'];
		$thumb = $_GET['thumb'];
		$preview = $_GET['preview'];
	}
?>
<div class="illblock" id="img_<?= $id; ?>">
<a href="<?=$preview?>" id="preview">
	<img src="<?=  Yii::app()->request->baseUrl.$thumb; ?>" alt="" width="73"  />
</a>	
  <? echo CHtml::activeHiddenField($model,"[]file", array('value'=>$id)); ?>
	<a href="javascript:void(0)" onclick="deleteImg('img_<?= $id; ?>');$('.mrg1').val('');" class="deletelink1">Удалить</a>
</div>
<script>
$(function(){$('#preview').lightBox();});
</script>


